﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace PropertyManagementSystemAPI.Models {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "carinfo", DisableSyncStructure = true)]
	public partial class Carinfo {

		/// <summary>
		/// 车辆id，主键
		/// </summary>
		[JsonProperty, Column(DbType = "int", IsPrimary = true, IsIdentity = true)]
		public int Cid { get; set; }

		/// <summary>
		/// 车辆颜色
		/// </summary>
		[JsonProperty, Column(Name = "carcolor", StringLength = 25)]
		public string Carcolor { get; set; }

		/// <summary>
		/// 车牌号
		/// </summary>
		[JsonProperty, Column(Name = "carnumber", StringLength = 50)]
		public string Carnumber { get; set; }

		/// <summary>
		/// 车辆备注
		/// </summary>
		[JsonProperty, Column(Name = "carremark", StringLength = 50)]
		public string Carremark { get; set; }

		/// <summary>
		/// 车辆照片
		/// </summary>
		[JsonProperty, Column(Name = "cimg")]
		public string Cimg { get; set; }

		/// <summary>
		/// 登记日期
		/// </summary>
		[JsonProperty, Column(Name = "createtime", DbType = "datetime")]
		public DateTime? Createtime { get; set; }

		/// <summary>
		/// 是否删除
		/// </summary>
		[JsonProperty, Column(Name = "isdelete")]
		public bool? Isdelete { get; set; }

		/// <summary>
		/// 业主信息外键
		/// </summary>
		[JsonProperty, Column(Name = "oid", DbType = "int")]
		public int? Oid { get; set; }

	}

}
